-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#21157][DocDb]: Fix load_balancer_max_over_replicated_tablets description to reflect per-table status #24406
base: master
Are you sure you want to change the base?
Conversation
…s description Summary: Currently, the flag '--load_balancer_max_over_replicated_tablets' does not accurately reflect the fact that the setting is meant to be applicable per table. This commit looks to update the description of the flag to explicitly state that this settings is on a per-table basis (note: customers may already have flag overrides so naively changing flag name outright is not ideal) Test Plan: ./yb_release works Reviewers: Reviewed By: Subscribers: Tags: Differential Revision:
cedbd19
to
eeb6b72
Compare
✅ Deploy Preview for infallible-bardeen-164bc9 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for infallible-bardeen-164bc9 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -522,7 +522,7 @@ Default: `2` | |||
|
|||
##### --load_balancer_max_over_replicated_tablets | |||
|
|||
Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor. | |||
Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor per table. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor per table. | |
Specifies the maximum number of running tablet replicas per table that are allowed beyond the configured replication factor. For example, if RF=3 and this flag is set to 3, you can have maximum 6 tablet replicas per table. |
@@ -68,7 +68,7 @@ DEFINE_RUNTIME_int32(load_balancer_max_concurrent_tablet_remote_bootstraps_per_t | |||
|
|||
DEFINE_RUNTIME_int32(load_balancer_max_over_replicated_tablets, 1, | |||
"Maximum number of running tablet replicas that are allowed to be over the configured " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Maximum number of running tablet replicas that are allowed to be over the configured " | |
"Maximum number of running tablet replicas per table allowed in addition to the configured " |
@@ -68,7 +68,7 @@ DEFINE_RUNTIME_int32(load_balancer_max_concurrent_tablet_remote_bootstraps_per_t | |||
|
|||
DEFINE_RUNTIME_int32(load_balancer_max_over_replicated_tablets, 1, | |||
"Maximum number of running tablet replicas that are allowed to be over the configured " | |||
"replication factor."); | |||
"replication factor per table."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"replication factor per table."); | |
"replication factor."); |
@@ -215,7 +215,7 @@ struct Options { | |||
// time. | |||
bool kAllowLimitOverReplicatedTablets = true; | |||
|
|||
// Max number of running tablet replicas that are over the configured limit. | |||
// Max number of running tablet replicas that are over the configured limit per table. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Max number of running tablet replicas that are over the configured limit per table. | |
// Max number of running tablet replicas per table allowed over the configured RF. |
@SrivastavaAnubhav Can you TAL |
I'm talking to Michael about this on community slack. The best fix would actually be to do the following: introduce a new flag called |
Currently, the flag '--load_balancer_max_over_replicated_tablets' does not accurately reflect the fact that the setting is meant to be applicable per table.
This commit looks to update the description of the flag to explicitly state that this settings is on a per-table basis (note: customers may already have flag overrides so naively changing flag name outright is not ideal)
Test Plan:
./yb_release works
Reviewers:
Reviewed By:
Subscribers:
Tags:
Differential Revision: